package appws;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import net.webservicex.GlobalWeatherSoap;

@Component("wrapper")
public class WrapperImpl implements Wrapper {

	@Autowired
	private GlobalWeatherSoap client;
	
	
	
	public String getCities(){
		return client.getCitiesByCountry("FR");
	}
	
	
	public void setClient(GlobalWeatherSoap client) {
		this.client = client;
	}
	
	public GlobalWeatherSoap getClient() {
		return client;
	};
	
	
	
}
